<%-- 
    Document   : jsonListaPasajeros
    Created on : 09/04/2011, 10:04:57 PM
    Author     : Home
--%>
<%@page contentType="application/json" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

{
    identifier: "nlipa_codigo",
    label: "o",
    items:[
<logic:iterate id="lista" name="listas" scope="session" indexId="i" >
    ${i>0 ? "," : ""}
    {
    
    "dlipa_fechaviaje":"<bean:write name="lista" property="dlipa_fechaviaje"/>",
    "dlipa_viaje":"<bean:write name="lista" property="dlipa_viaje"/>",
    "nlipa_codigo":<bean:write name="lista" property="nlipa_codigo"/>,
    "nlipa_qty":<bean:write name="lista" property="nlipa_qty"/>,
    "clipa_autogenerado":"<bean:write name="lista" property="clipa_autogenerado"/>",
    "clipa_estado":"<bean:write name="lista" property="clipa_estado"/>",
    "clipa_destino":"<bean:write name="lista" property="clipa_destino"/>",

    "nvehi_codigo":"<bean:write name="lista" property="nvehi_codigo"/>",
    "ntive_codigo":"<bean:write name="lista" property="ntive_codigo"/>",
    "npais_codigovehiculo":"<bean:write name="lista" property="npais_codigovehiculo"/>",
    "cvehi_numeroplaca":"<bean:write name="lista" property="cvehi_numeroplaca"/>",
    "cvehi_marca":"<bean:write name="lista" property="cvehi_marca"/>",
    "cvehi_modelo":"<bean:write name="lista" property="cvehi_modelo"/>",
    "cvehi_numeromotor":"<bean:write name="lista" property="cvehi_numeromotor"/>",
    "nvehi_fabricacion":"<bean:write name="lista" property="nvehi_fabricacion"/>",
    "cvehi_numerochasis":"<bean:write name="lista" property="cvehi_numerochasis"/>",


    "npers_codigo":"<bean:write name="lista" property="npers_codigo"/>",
    "npais_codigochofer":"<bean:write name="lista" property="npais_codigochofer"/>",
    "ntido_codigo":"<bean:write name="lista" property="ntido_codigo"/>",
    "cdope_numero":"<bean:write name="lista" property="cdope_numero"/>",
    "cpers_nombres":"<bean:write name="lista" property="cpers_nombres"/>",
    "cpers_apepaterno":"<bean:write name="lista" property="cpers_apepaterno"/>",
    "cpers_apematerno":"<bean:write name="lista" property="cpers_apematerno"/>",
    "cvehi_conductor":"<bean:write name="lista" property="cvehi_conductor"/>",
    "cpers_ocupacion":"<bean:write name="lista" property="cpers_ocupacion"/>",
    "nesci_codigo":"<bean:write name="lista" property="nesci_codigo"/>",
    "dpers_fechanacimiento":"<bean:write name="lista" property="dpers_fechanacimiento"/>"
    }
</logic:iterate>
]

}
<%
request.getSession().removeAttribute("listas");
%>